package com.sht.product.yuea.coupon.service;

import java.util.List;

import com.sht.product.yuea.coupon.dao.ICouponCustomerDao;
import com.sht.product.yuea.coupon.entity.CouponCustomer;

public class CouponAndPersonService implements ICouponAndPersonService{
	private ICouponCustomerDao couponCustomerDao;
	public List<CouponCustomer> getAll(CouponCustomer couponCustomer){
		return couponCustomerDao.selectByCondition(couponCustomer);
	}
	
	public void insert(CouponCustomer couponCustomer){
		couponCustomerDao.insert(couponCustomer);
	}
	
	
	public ICouponCustomerDao getCouponCustomerDao() {
		return couponCustomerDao;
	}
	public void setCouponCustomerDao(ICouponCustomerDao couponCustomerDao) {
		this.couponCustomerDao = couponCustomerDao;
	}
	
}
